<div class="friends-link"> 
  
	<div class="btn-t"> 
		<a class="btn" href="https://www.google.com/ncr">Google</a> 
		<a class="btn" href="https://github.com/">Github</a> 
		<a class="btn" href="https://github.com/">very long very long very long</a> 
	</div> 
   
	<div class="btn-b"> 
		<a class="btn" href="https://www.zhihu.com/">知乎</a> 
		<a class="btn" href="https://www.douban.com/">豆瓣</a> 
	</div> 
   
</div>
<style>
/* btn style: http://www.gitnavi.com */
* {margin: 0; padding: 0;}
.friends-link {
    float: left;
    width: 36%;
    font-size: 0;
    line-height: 1;
    text-align: center;
    margin-left: 4%;
    margin-top: 10px;
}
.friends-link a {
    margin-left: 5px;
    margin-top: 5px;
    width: 15%;
    display: inline-block;
    line-height: 1;
}
.friends-link a:hover {
    background-color: #eb7350;/*#5F94BD*/
    color: #fff;
}
.friends-link .btn {
    box-sizing: border-box;
    padding: 7px 1px;
    color: #666;
    font-size: 14px;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.friends-link .btn:hover {
    text-decoration: none;
}
</style>